#include "NullPointerException.h"
NullPointerException::NullPointerException() throw()
    : std::exception()
{
}

NullPointerException::NullPointerException(string_ptr &msg) throw()
    : std::exception(), m_msg(msg)
{
}

const char *NullPointerException::what() const throw()
{
  return m_msg->c_str();
}

NullPointerException::~NullPointerException() throw()
{
}
